home *** CD-ROM | disk | FTP | other *** search
- On 13-Oct-97, MtL ManUtd scribbled:
-
- >I tried this using my Viewtrek but its didnt worked! hmm still that
- >stupid file selector was coming up..
-
- What selector do you mean???
-
- >Then i tried viewing jpgs with fast jpg and then it worked. I think
- >it must be the viewtrek program that dont want 2 understand the exec
- >line!
-
- Are you using 1.3, 2.x or 3.x??? Amos Pro V1 or 2 etc.
-
- Anyway, try this out, it might just be what you're looking for. It's
- worked fine for me everytime. So I hope you have no probs. (It may
- require Kick2.x)
-
- BTW Check the VT dox and make sure you have all LIBS etc present :)
-
- onwards....
-
- '----------SNIP HERE---------------
- '
- ' ********************************
- ' * Amos ViewTek Viewer!!! *
- ' * bY Andy Gibson for Amos List *
- ' * © - Who cares???? *
- ' ********************************
- '
- Proc _VIEWPIC["C:VT","RAM:piccy"]
- '
- '
- Procedure _VIEWPIC[COMM$,FILE$]
- '
- ' Just some err trapping...not really required...
- If Exist(COMM$)=0 : Bell : Edit : End If
- If Exist(FILE$)=0 : Shoot : Edit : End If
- '
- ' Put Amos to back. If you have CRAFT, you could also use the
- ' WB To Front command to make sure WB is at the front when you
- ' flip Amos to back, thus hiding any other WB apps running :^)
- '
- Amos To Back
- '
- COMMAND$=COMM$+" "+FILE$+Chr$(0)
- Dreg(1)=Varptr(COMMAND$)
- Dreg(2)=0 : Dreg(3)=0
- XEXECUTE=Doscall(-222)
- '
- If Not Amos Here : Bell : Amos To Front : End If
- Amos To Front
-
- '
- End Proc
- '
- '----------SNIP HERE---------------
-
- Save the above to disk as something like FILE.asc and use the Merge
- Ascii from the Project menu in Amos Pro. Sorry if I'm patronising you
- m8, just trying to help... ;^)
-
- Yyou could maybe add some kind of loop with a Multi Wait command so
- that all processor time is given back to the system when in WB. This
- should make VT run smoother also. And one more thing, try opening a
- CLI window and printing some text to it to tell peeps that VT is
- loading a piccy etc.
-
- Use Easylife for Iconify or Amcaf, GUI Etx's etc for other great CLI
- commands.
-
- Lemme know how you get on also.
-
- ttfn, Andy Gibson.
-
- --
- ___________________________________ ________________________________
- | _ _ | |
- | (-)/\//_)\/ AGAS Productions | #cONTACT mE fOR mORE iNFO# |
- | Gibson_/ 9T7 | #oN aREA51 rELEASES aLSO!# |
- | | |
- | andy@agasinc.demon.co.uk | cOMING sOON'ish |
- | | *Roswell Gfx Adv* |
- | -=<(aka SKiDZ/A51)>=- | 9T7 |
- |___________________________________|________________________________|
-
-
-